//
//  MacroDefinition.h
//  Pods
//
//  Created by green on 16/5/26.
//
//

#ifndef MacroDefinition_h
#define MacroDefinition_h

//----------------------颜色类---------------------------

#define RGBColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1]    
#define RGBAColor(r, g, b ,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:a]         
#define RandColor RGBColor(arc4random_uniform(255), arc4random_uniform(255), arc4random_uniform(255))

//----------------------图片类---------------------------

#define VRPlayerBundle [NSBundle bundleWithPath:[[[NSBundle bundleForClass:self.class] bundlePath] stringByAppendingPathComponent:@"CQVRPlayer.bundle"]]

#define V1_0_0_back [UIImage imageNamed:@"v1.0.0_back" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 返回图片
#define v1_0_0_gyroscope_btn_off [UIImage imageNamed:@"v1.0.0_gyroscope_btn_off" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 重力感应关闭
#define v1_0_0_gyroscope_btn_on [UIImage imageNamed:@"v1.0.0_gyroscope_btn_on" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 重力感应打开
#define v1_0_0_screen_btn_off [UIImage imageNamed:@"v1.0.0_screen_btn_off" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 分屏关闭
#define v1_0_0_screen_btn_on [UIImage imageNamed:@"v1.0.0_screen_btn_on" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 分屏打开
#define v1_0_0_play [UIImage imageNamed:@"v1.0.0_play" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 视频播放
#define v1_0_0_pause [UIImage imageNamed:@"v1.0.0_pause" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 视频暂停
#define v1_0_0_fullscreen [UIImage imageNamed:@"v1.0.0_fullscreen" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 全屏播放
#define v1_0_0_shrinkscreen [UIImage imageNamed:@"v1.0.0_shrinkscreen" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 小屏播放
#define v1_0_0_jianbian_bottom [UIImage imageNamed:@"v1.0.0_jianbian_bottom" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 底部导航背景图
#define v1_0_0_jianbian [UIImage imageNamed:@"v1.0.0_jianbian" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 顶部导航背景图
#define v1_0_0_knob [UIImage imageNamed:@"v1.0.0_knob" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 进度条圆
#define v1_0_0_knob_highlighted [UIImage imageNamed:@"v1.0.0_knob_highlighted" inBundle:VRPlayerBundle compatibleWithTraitCollection:nil] // 进度条圆（高亮）


#endif /* MacroDefinition_h */
